package com.linkq.ipinyin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;

/**
 * @FileName BcPopQuiz
 * @Description 执行计划测验表
 * @Author wangpeng
 * @date 2025-01-01
 **/

@Data
@TableName("t_pop_quiz")
public class PopQuiz extends Model<PopQuiz> {

    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 执行id
     */
    private Integer executionId;

    /**
     * 题目id
     */
    private Integer questionId;

    /**
     * 是否回答正确 1:正确 2:错误
     */
    private Integer isCorrect;

    /**
     * 题目类型（1随堂测验题目/2之前的错题）
     */
    private Integer questionType;

    /**
     * 错题归属的执行id
     */
    private Integer questionExecutionId;
}
